<html>
<head>
<style>
@page {
  size: 100px 100px;
  margin: 10px;
}
@page:first {
  border: 2px solid black;
  background-color: green;
}
body {
  margin: 0;
}
</style>
</head>
<body>
<div style="width: 100%; height: 20px; background-color: red; page-break-after: always;"></div>
<div style="width: 100%; height: 20px; background-color: orange;"></div>
</body>
</html>
